package testsuite_homepage.pageobject;

import org.openqa.selenium.WebDriver;

public class LoggedInHomepage {
	
	private final WebDriver driver;
    
    
    public LoggedInHomepage(WebDriver driver)
    {
             this.driver = driver;
           
            if (!driver.getPageSource().contains("Change Password")) {
                throw new IllegalStateException("Homepage not logged in.");
            }
    }

}
